

target_include_directories(${PROJECT_NAME}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/bmi270_package)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} bmi270_sensor_src)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/bmi270_package bmi270_package_src)

target_sources(${PROJECT_NAME}
    PRIVATE ${bmi270_package_src}
    PRIVATE ${bmi270_sensor_src})